package com.oracle.application.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author The Bug Maker
 * @since 2021-07-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 登录名
     */
    private String loginname;

    /**
     * 密码
     */
    private String pwd;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 添加时间
     */
    private LocalDateTime createdate;

    /**
     * 修改时间
     */
    private LocalDateTime modifydate;

    /**
     * 锁定过期时间
     */
    private LocalDateTime lockexpiredate;

    /**
     * 登录失败次数
     */
    private Integer failcount;

    /**
     * 状态   0-正常 1-锁定2删除
     */
    private Integer status;


}
